package routes

import (
	"goserver/handlers"
	"goserver/models"

	"go.mongodb.org/mongo-driver/mongo"
)

func SetupTestaRoutes(db *mongo.Database, collectionName string) {
	testaRepo := models.NewTestaRepository(db, collectionName)
	testaHandler := handlers.NewTestaHandler(testaRepo)
	setupEntityRoutes[models.User]("/testa/add", testaHandler.Testbbb)

}
